<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>${obj.cate.name }</title>

<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta http-equiv="Cache-Control" content="no-siteapp" />

<script type="text/javascript" src="resource/js/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="resource/js/systools/MBase.js"></script>

<script type="text/javascript"
	src="resource/plugin/syntaxhighlighter_3.0.83/scripts/shCore.js"></script>
<script type="text/javascript"
	src="resource/plugin/syntaxhighlighter_3.0.83/scripts/shBrushJScript.js"></script>
<link type="text/css" rel="stylesheet"
	href="resource/plugin/syntaxhighlighter_3.0.83/styles/shCore.css" />
<link type="text/css" rel="stylesheet"
	href="resource/plugin/syntaxhighlighter_3.0.83/styles/shCoreDefault.css" />
<script type="text/javascript">
	SyntaxHighlighter.all();
</script>


<style type="text/css">
.hkdg{
	width:150px; 
	margin: 5px;
	border: 1px solid #aeaeae;
	border-radius:5px;
	padding: 3px; 
}
blockquote{
font-size: 14px;
line-height: 25px;
}
.title{
color: #6f5499;
font-size: 32px;
text-shadow:2px 3px 2px #ababab;

}

.nb{
border-top: none;
border-right: none;
border-left: none;
}
</style>
<body>
<h2 class="text-center title" > 接口详情 </h2>
	<div class="row">
			<div class="col-sm-12">
				<form class="form-horizontal" id="dataform"
					onsubmit="javascripr:return false;">
					<div class="form-group">
						<label class="col-sm-2 control-label">分&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;类：</label>
						<div class="  col-sm-10">
							<p class="form-control-static">${obj.cate.name }</p>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-2 control-label">接口名称：</label>
						<div class="  col-sm-10">
							<p class="form-control-static">${obj.name }</p>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-2 control-label">请求方式：</label>
						<div class="  col-sm-10">
							<p class="form-control-static">${obj.method }</p>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-2 control-label">访问URL：</label>
						<div class="  col-sm-10">
							<p class="form-control-static"><a href="${obj.url }" target="_blank" >${obj.url }</a></p>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-2 control-label">备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注：</label>
						<div class="  col-sm-10">
							<p class="form-control-static">${obj.remark }</p>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-2 control-label">输入参数：</label>
					</div>
					<div class="form-group">
						<div class="col-sm-10  col-sm-offset-2 ">
							<table class="table table-striped table-hover table-bordered"
								id="mgrid">
								<thead>
									<tr>
										<th width="50" >序号</th>
										<th>名称</th>
										<th>类型</th>
										<th>是必须</th>
										<th>参数位置</th>
										<th>默认值</th>
										<th>示例</th>
										<th>备注</th>
									</tr>
								</thead>
								<tbody id="cpId">
									<#list obj.paramList as item>
										
											<tr>
												<td>${item_index+1}</td>
												<td>${item.name}</td>
												<td>${item.paramType}</td>
												<td>${item.isMust}</td>
												<td>${item.paramPosition}</td>
												<td>${item.defaultValue }</td>
												<td>${item.exp}</td>
												<td>${item.remark}</td>
											</tr>
									</#list>	
								</tbody>
							</table>
						</div>
					</div>
					<div class="form-group">
						<label class="col-sm-2 control-label  ">返回参数：</label>
						<div class="  col-sm-10">
							<pre class="brush: js;" id="exp" name="code">${obj.returnValue}</pre>
							<br>
						</div>
					</div>
						
				</form>
			</div>
		</div>
</body>
</html>